package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderInvoice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单发票表
 * @author :
 * @email :
 * @since : 2020-03-03 11:14:45
 * @version : v1.0.0
 */
@Mapper
public interface  OrderInvoiceMapper {

    long insert(OrderInvoice orderInvoice);

    long delete(Long id);

    long update(OrderInvoice orderInvoice);

    OrderInvoice queryByPrimaryKey(Long id);

    List<OrderInvoice> query(OrderInvoice orderInvoice);

    List<OrderInvoice> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderInvoice") OrderInvoice orderInvoice);

    long queryPageCount(OrderInvoice orderInvoice);
}
